package com.xxxx.config;

import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @program: yun2
 * @ClassName MybatisPlusConfig
 * @description:
 * @author: ZhouBin
 * @create: 2022-05-25 16:20
 * @Version 1.0
 **/
@Configuration
public class MybatisPlusConfig {
    @Bean
    public PaginationInterceptor paginationInterceptor(){
        return new PaginationInterceptor();
    }
}
